package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.dao.entity.OrderIndexDO;
import com.wlyuan.open.scanner.domain.combine.Combine;

import java.util.List;

/**
 * @author lijing
 * @description
 */
public interface OrderCombineRepository {

    /**
     * 拼车单
     */
    void sync();

    /**
     * 拼车单
     *
     * @return
     */
    List<Combine> combineList();

    /**
     * 根据id获取信息
     *
     * @param combineId
     * @return
     */
    Combine getById(Long combineId);

    /**
     * 根据租户获取
     *
     * @param tenantId
     */
    void getByTenantId(Long tenantId);

    void process(OrderIndexDO data);

    List<Long> getByTime(String startTime, String endTime);

    List<Long> getByTenantIdTime(Long tenantId, String startTime, String endTime);
}
